Keysight VISA.NET Help
WriteBinaryAndFlush(UInt16[],Int64,Int64) Method



The array of UInt16 integers to be added to the formatted I/O write buffer.
The index in data of the first element to be copied.
The number of elements to be copied.
Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count UInt16 integers, starting from the array index specified.
Syntax
'Declaration
 
<CLSCompliantAttribute(False)>
Overloads Sub WriteBinaryAndFlush( _
   ByVal data() As UShort, _
   ByVal index As Long, _
   ByVal count As Long _
) 
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim data() As UShort
Dim index As Long
Dim count As Long
 
instance.WriteBinaryAndFlush(data, index, count)
[CLSCompliant(false)]
void WriteBinaryAndFlush( 
   ushort[] data,
   long index,
   long count
)
[CLSCompliant(false)]
void WriteBinaryAndFlush( 
   array<ushort>^ data,
   int64 index,
   int64 count
) 

Parameters

data
The array of UInt16 integers to be added to the formatted I/O write buffer.
index
The index in data of the first element to be copied.
count
The number of elements to be copied.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025